Adding Javascript assignment