Fixed how to render javascript with a reveal modal in foundation.