fix js errors

add missing files