move profile js to new file