refactor javascript service and add admin home controller