Type is text/javascript
, not javascript/text
. Your browser is probably ignoring the unrecognized script type.
Also, make sure if you replace "-119" with a variable that you take care to prevent XSS attacks by ensuring your variable contains a number or properly escaping it.