minor changes
remove unnecessary code
move init js to angular module (WIP)