Dynamic Javascript loader of js and css code