css and javascript modularised