Various fixes for js development.