Add clientside javascript