add js button states
testing new image upload models