Simplified. It works on Firefox now