got rid of silly js warnings