Restore javascript requires