Css and javascript version control with javascript