tidied up crop js, fixed crop inaccuracies