Added a JavaScript loading check.
Added a JavaScript loading check.

This is a preventative measure in case JavaScript loading is ever moved
to outside viewDidLoad. In this case, it may be that the invocation of
the JS functions may occur before the actual JavaScript has been loaded
and this fixes that case.

Signed-off-by: Byron Sanchez <6685d7b842d5f719c80dba2d9b7b92fbac715e4a@gmail.com>

byronsanchez/creepypasta-files-ios,byronsanchez/creepypasta-files-ios