added the app_generic.js - handle all the resources put in the static folder