Moved index to launch.js

bugfix

Added launch

Moved libs

don't surround predicates with whitespace