js profiles now works