Js error fixes. Time to complete the mod ;)

Signed-off-by: Joker-SMF <makerzzz.zzzz@gmail.com>