Javascript APIs for offline communications in Firefox OS. PSU CS Capstone 2014