Raspberry Pi Garage door opener using jQuery Mobile and Flask