Moved js from test resources to main resources