Fixed PHP notice in tabbed.php
Fixed tabbed js loading order issues.