Added Javascript unit tests for bootstrapper.