spelling
minor rearrangements
add a quick js testing win