moved all custom JavaScript code to rpstackmob.js