Tweaked index & js