Moving javascript around.