Fix for calling the simplemodal js incorrectly