Tweaked js again