Added javascript_module and tests