Fixing contacts test page under Firefox OS
moved JavaScript from HTML to a JS file
removed debug and platform specific comment
Merge pull request #1 from zalun/ffos_contacts_fix

CB-6570 - Ffos contacts fix