Removed lots of useless JS (for the moment)