This will help you out on how to develop apps for FIrefox OS