Tidying up the docs code and adding more rigorous mobile support

Signed-off-by: Kenneth Lim <kenlimmj@gmail.com>
Updated component.json

Signed-off-by: Kenneth Lim <kenlimmj@gmail.com>