initial commit
took out <script> and added it thru main.js so that self object is available
add:loading icon....fixed all unexpected behaviours.
updated