Javascript Get Url Hash Parameters In Python