Fixed javascript issue under Joomla! 3.3 when front-end item form is triggered by a menu link.