improved readme, cleaned up path js