update script paths
refactor to use require js to start app