Cleaned up main js
Added newpoint page