add javascript libraries and example module