Added .js file

On second thought, I decided to transfer all of the script located in
"profile.php" to an external .js file. I noticed that you had external
files associated with all of your other pages and wanted to keep things
consistent.