More JS fixes

minor pyramid fix