Javascript Get Url Hash Python Code For Snake