updates to prepare for JsFiddle consumption