fixed imput for JS file fo' realz.