add a few javascript problems