changed twelth to twelfth, cleaned up javascript, minor code fixes, updated readme