basic javascript / css with slight bug fixes in the main module file