fixes to javascript includes