Shallow JS translation