now we handle also the javascript, the way we did for the css and images