Added error checking when PyV8 does not exist