further simplification/removing the necessary code and extracting
javascript and css code to external files...