Removed app folder. Restructure javascript function.