javascript files structure

all javascript files must go under lib folder, leave the js folder for
AngularJs configuration scripts