Adding crop funtionality to photos and moving js around