wp-1331 get rid of unnecessary javascript