adding profile.js back in