Add js type to source.