hide debug, move js into compiled file