Moar JavaScript for rules, php still on local (it breaks stuff..)