Fixed several bugs and streamlined star/meteor rendering and positioning javascript