Cleaned Javascript structure and started to fix Efforia registering