JS errors

Fixes error in JS includes.