js to overcome pluploaders willingness to work with #states