including js through module info file is not working mymodule.info:

name = custom
description = custom module

core = 7.x
version 7.x-0.1

scripts[] = custom.js


created the file custom.js in the same folder as custom.module file
I have the $scripts variable in html.tpl.php
cleared all caches

Still cannot see custom.js in page sources. What else it might be?
The problem is with a typo in the info file. It's missing a "=" on the version line.
Correct info file here:

name = custom
description = custom module

core = 7.x
version = 7.x-0.1

scripts[] = custom.js


Also note that the version properties is discouraged