Basic JavaScript - Profile Lookup