change thumbnail size
javascript now reads image thumbnail sizes from php using wp_localize_script; however it still should be better constructid #11