Jquery Variable In String Javascript Substring Negative