require js added +tests