Added a better way of handling javascript application helpers