Formatted css and javascript, moved mobile test function into seperate file