Added auto loading of js and css file.