fixes spec and adds spec to mobile browser