added profile js to main page