Fix absolute paths
Remove debug output from js