Removed crazy JS magic