Adding leapjs support & modifications to leapjs