rename app js file to casesensitive app name
change app js events to be global