move JS to include file