moved style and js to separate files