add case to check if callbacks are already done

to check if the callbacks may be done we check for crossData to be not null as this is the most important indicator
renaming main js

renaming app.js to videbligo as this is the name of the project and app.js may already be used