moved inline css and js

+ cleaned the codez