spaced javascript