included jspec function