added optional JavaScript libraries, and related css